import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import * as CryptoJS from 'crypto-js';
import { Observable } from 'rxjs';
import { environment } from 'src/environments/environment';

@Injectable({
  providedIn: 'root'
})
export class GetCodeService {
  constructor(private http: HttpClient) {}
  getCode(){
      return this.http.post(environment.apiUrl + '/Code/getCode',{});
    }
}
